package uiController;

import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.stage.Stage;

public class UIAlterController {

	@FXML
	private Label lblMessage;

	@FXML
	private Button btnConfirm;

	@FXML
	void btnConfirmClick(ActionEvent event) {
		((Stage) this.btnConfirm.getScene().getWindow()).close();
	}

	public void setText(String text) {
		this.lblMessage.setText(text);
	}

}
